﻿
using FreeSql.DataAnnotations;

namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 子篮信息
    /// </summary>
    [SugarTable("cks_basket")]
    [Table(Name = "cks_basket")]
    public class CksBasket : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public long Id { get; set; }

        /// <summary>
        /// 子篮码 
        /// </summary>
        public string BlueCode { get; set; }

        /// <summary>
        /// 子篮类型 
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 零件库存 
        /// </summary>
        public int Stock { get; set; }
        /// <summary>
        /// 1清洗线 2缓存线
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 质量状态
        /// </summary>
        public int QualityStatus { get; set; }
        /// <summary>
        /// 最后更新时间 
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建时间(子篮上料时间) 
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

        

    }
}